PMI_ Pen Miscellaneous Information
The PMI_
values are used as arguments for the GetPenMiscInfo
The following
table describes the PMI_ values:
Constant |
Description |
PMI_BEDIT |
Boxed edit
information. |
PMI_CXTABLET |
Width of
tablet (in units of 0.001 inch) if present, else the width of the screen. |
PMI_CYTABLET |
Height of
tablet (in units of 0.001 inch) if present, else the height of the screen. |
PMI_ENABLEFLAGS |
Flags
describing whether certain Pen API features are enabled. The flags can be a
combination of the following values: PWE_AUTOWRITE Enable pen functionality where the I-Beam
cursor is present. |
PMI_INDEXFROMRGB |
A standard
RGB pen-tip color value from 0 to 0xFFFFFF. |
PMI_PENTIP |
Address of
current pen-tip structure. |
PMI_RGBFROMINDEX |
An integer
index from 0 to 15 for the standard pen-tip color table. |
PMI_SAVE |
Save
settings to file. |
PMI_SYSFLAGS |
Flags
describing which pen system components are loaded. The flags can be a
combination of the following values: PWF_RC1 Support available for Pen API version 1.0
Recognition Context (RC) and associated functions. |
PMI_SYSREC |
Handle to
system recognizer, if present. |
PMI_TICKREF |
Absolute
reference time that the system uses to calculate time-stamps for strokes in
pen data objects and inksets. |
PMI_TIMEOUT |
Time-out
value to end handwriting input, in milliseconds. |
PMI_TIMEOUTGEST |
Time-out
value to end a gesture, in milliseconds. |
PMI_TIMEOUTSEL |
Time-out
value in milliseconds for press-and-hold gesture. The range of permissible
values is 0 to 5000. If press-and-hold has been disabled, this value is
65,535. |
For
additional information, see the entries for the GetPenMiscInfo